package cn.tedu.csmall.passport.repo;

import cn.tedu.csmall.passport.pojo.vo.RoleListItemVO;

import java.util.List;

public interface IRoleRedisRepository {
    String ROLE_LIST_KEY = "role:list";
    String ROLE_ITEM_KEYS_KEY = "role:item-keys";

    void save(List<RoleListItemVO> brands);

    Long deleteAll();

    List<RoleListItemVO> list();

    List<RoleListItemVO> list(long start, long end);

}
